<div ng-controller="StoreCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/store/list">{{'store'|translate}}</a></li>
        <li>列表
            <a href="#/store/add" ng-if="showAddStore" class="sui-btn btn-primary">+{{'add_new'|translate}}</a>
            <add-store ng-show="!storeList.length" btn-name="+新建"></add-store>
        </li>
        <li>
            <a href="#/store/applylist">{{'申请分店列表'|translate}}</a>
        </li>
        <span class="sui-form sui-form pull-right">
            <span>
               <!--  {{'转发标题设置'|translate}}：<input type="text" class="input-xlarge" placeholder="{{'标题内容'|translate}}"  ng-model="zf_title">
                <button class="sui-btn btn-primary" ng-click="setZfTtitle()">{{'保存'|translate}}</button> -->
            </span>
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'logo'|translate}}</th>
                <th>{{'seller Name'|translate}}</th>
                <th>{{'address'|translate}}</th>
                <th>{{'mobile'|translate}}</th>
                <th>{{'status'|translate}}</th>
                <th>{{'created_at'|translate}}</th>
                <!-- <th>店铺地址</th> -->
                <th>{{'operation'|translate}}</th>
                <th>{{'微信'|translate}}</th>
                <th>{{'操作'}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in storeList">
                <td><img ng-src="{{list.logo_img}}" width="100" /></td>
                <td>{{list.name}}</td>
                <td>{{list.address}}</td>
                <td>
                    {{list.phone}}
                </td>
                <td>
                    {{list.status}}
                </td>
                <td>
                    {{list.created_at}}
                    <!-- <wx-qrcode stype="wxqrcodeScene" wxappid="'wx6ed1ad00cb86dc8c'"></wx-qrcode> -->
                </td>

                <!-- <td>
                   <a href="shop.html#/shop/list?seller_uid={{partner_id}}" target="_blank">店铺地址</a>
                </td>
 -->
                <td>
                    <a href="#/store/add?store_id={{list.store_id}}" class="sui-btn btn-primary">{{'edit'|translate}}</a>
                    <!-- <add-store store-id="{{list.store_id}}" btn-name="编辑"></add-store> -->
                    <!--  <a href="#/store/copy?store_id={{list.store_id}}" class="sui-btn btn-primary">{{'复制数据'|translate}}</a> -->
                </td>
                <td>
                    <a href="#/store/config?store_id={{list.store_id}}" class="sui-btn btn-primary">{{'授权'|translate}}</a>
                </td>

                <td ng-show="list.is_main==1">
                    <button class="sui-btn btn-primary" ng-click="quickCreateStore(list)">快速创建门店</button>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- <pager page-no="1" page-size="pageSize" total="storeTotal" get-data="getstoreList(pageNo)"></pager> -->
</div>